import * as directives from './index'

export default {
  install(Vue) {
    // 注册全局 自定义指令
    Object.keys(directives).forEach(key => {
      Vue.directive(key, directives[key])
    })
  }
}
